package cn.pojo;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 疫苗禁忌实体类
 */
@Component
public class HealthTaboo {
    private Integer tabooId; // 自增主键
    private Integer tabooVaccineId; // 疫苗id
    private String tabooContext; // 疫苗禁忌内容
    private String tabooSource; // 禁忌来源
    private Integer tabooEye; // 疫苗禁忌查看人数
    private String tabooDate; // 创建时间
    private String tabooTime; // 修改时间

    public HealthTaboo() {
    }

    /**
     *
     * @param tabooId 自增主键
     * @param tabooVaccineId 疫苗id
     * @param tabooContext 疫苗禁忌内容
     * @param tabooSource 禁忌来源
     * @param tabooEye 疫苗禁忌查看人数
     * @param tabooDate 创建时间
     * @param tabooTime 修改时间
     */
    public HealthTaboo(Integer tabooId, Integer tabooVaccineId, String tabooContext, String tabooSource, Integer tabooEye, String tabooDate, String tabooTime) {
        this.tabooId = tabooId;
        this.tabooVaccineId = tabooVaccineId;
        this.tabooContext = tabooContext;
        this.tabooSource = tabooSource;
        this.tabooEye = tabooEye;
        this.tabooDate = tabooDate;
        this.tabooTime = tabooTime;
    }

    public Integer getTabooId() {
        return tabooId;
    }

    public void setTabooId(Integer tabooId) {
        this.tabooId = tabooId;
    }

    public Integer getTabooVaccineId() {
        return tabooVaccineId;
    }

    public void setTabooVaccineId(Integer tabooVaccineId) {
        this.tabooVaccineId = tabooVaccineId;
    }

    public String getTabooContext() {
        return tabooContext;
    }

    public void setTabooContext(String tabooContext) {
        this.tabooContext = tabooContext;
    }

    public String getTabooSource() {
        return tabooSource;
    }

    public void setTabooSource(String tabooSource) {
        this.tabooSource = tabooSource;
    }

    public Integer getTabooEye() {
        return tabooEye;
    }

    public void setTabooEye(Integer tabooEye) {
        this.tabooEye = tabooEye;
    }

    public String getTabooDate() {
        return tabooDate;
    }

    public void setTabooDate(String tabooDate) {
        this.tabooDate = tabooDate;
    }

    public String getTabooTime() {
        return tabooTime;
    }

    public void setTabooTime(String tabooTime) {
        this.tabooTime = tabooTime;
    }

    @Override
    public String toString() {
        return "HealthTaboo{" +
                "tabooId=" + tabooId +
                ", tabooVaccineId=" + tabooVaccineId +
                ", tabooContext='" + tabooContext + '\'' +
                ", tabooSource='" + tabooSource + '\'' +
                ", tabooEye=" + tabooEye +
                ", tabooDate=" + tabooDate +
                ", tabooTime=" + tabooTime +
                '}';
    }
}
